package shoppingcart.fragment.model;

import org.json.JSONObject;

public class OrderItem {
    private int goodsCount;
    private String goodsCoverImg;
    private int goodsId;
    private String goodsName;
    private int sellingPrice;

    public static int fromJson(JSONObject orderObj) {
        return 0;
    }

    // Getters and setters
    public int getGoodsCount() { return goodsCount; }
    public String getGoodsCoverImg() { return goodsCoverImg; }
    public int getGoodsId() { return goodsId; }
    public String getGoodsName() { return goodsName; }
    public int getSellingPrice() { return sellingPrice; }

    public void setGoodsCount(int goodsCount) { this.goodsCount = goodsCount; }
    public void setGoodsCoverImg(String goodsCoverImg) { this.goodsCoverImg = goodsCoverImg; }
    public void setGoodsId(int goodsId) { this.goodsId = goodsId; }
    public void setGoodsName(String goodsName) { this.goodsName = goodsName; }
    public void setSellingPrice(int sellingPrice) { this.sellingPrice = sellingPrice; }
}
